/**
 * Created by zzc on 2017/11/16
 */


'use strict'
import data from "../../pages/findhouse/data";

export default class StringUtil {

    static isEmpty(data){

        if(data != null && data.length >0){
            return false
        }
        return true;

    }

    static isNotEmpty(data){

        if(data != null && data.length >0){
            return true
        }
        return false;
    }

    static filtNull(data) {
        if (data == null || data.length == 0 || data == 'null') {

            return '';
        }
        return data;
    }
}
